package com.ftd.dao;

import com.ftd.model.Book;

import java.util.List;

/**
 * Created by apple on 2016/12/7.
 */
public interface BookDao {
    public Book queryById(int id);
    public List<Book> queryAll();
    public void insert(String bookName,int bookCount);
    public void updateBookByIdAndCount(int id,int count);
    public void delete(int id);
    public void closeSession();
}
